package com.campus.marketplace.service;

import com.campus.marketplace.entity.Comment;
import java.util.List;

public interface CommentService {
    Comment addComment(Comment comment);
    
    Comment replyComment(Long parentId, Comment comment);
    
    List<Comment> getProductComments(Long productId);
    
    List<Comment> getCommentReplies(Long commentId);
    
    Comment updateComment(Long commentId, String content);
    
    void deleteComment(Long commentId);
    
    Comment getCommentById(Long commentId);
    
    List<Comment> getPendingComments();
    
    void approveComment(Long commentId);
    
    void rejectComment(Long commentId);
    
    Long getCommentCount(Long productId);
} 